<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Add Class</title>
</head>
<body>
<h2>Add Class</h2>

<form th:action="@{/admin/addClass}" method="post">
  <label for="className">Class Name:</label>
  <input type="text" id="className" name="className" required>

  <label for="grade">Grade:</label>
  <input type="text" id="grade" name="grade" required>

  <!-- 可以根据实际需求添加更多输入字段 -->

  <button type="submit">Add Class</button>
</form>
</body>
</html>
